<HTML>
<HEAD>
<TITLE>DefaultProjectName - OnExpose</TITLE>
<script type="text/javascript">
  var relPathToCommmon = "../../common/";
  var relPathToHelpDir = "../../common/help/";
</script>
<script type="text/javascript" src="../../common/jsdyn.js" language="JavaScript"></script>
<script type="text/javascript" src="../../common/js.js" language="JavaScript"></script>
<script type="text/javascript" src="leftmenu.js" language="JavaScript"></script>
<script type="text/javascript">
  var toSearchPage     = "_search','../../search";
  Body1();
</script>
<div class="headerPage">OnExpose</div>
<div class="path"><a href="#" OnMouseOver="link('','../../index',this)" class="pathLink">OOXlib</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_dir','include0',this)" class="pathLink">include</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_class','CMessageBoxWindow4032',this)" class="pathLink">CMessageBoxWindow</A><img src="../../common/path-arrow.gif" class="path-arrow"><span class="pathNonLink">OnExpose</span></div>
<script type="text/javascript">
 Body2();
 BodyLeftMenuStart();
WriteLeftMenu("","","","");
 BodyLeftMenuEnd();
 Body3();
</script>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','OnExpose2157650322','_description',this)" class="tabLinkInActive">Description</a></span>
<span class="tabActive"><a href="#" OnMouseOver="linkTab('_member','OnExpose2157650322','_source',this)" class="tabLinkActive">Source</a></span>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','OnExpose2157650322','_callgraph',this)" class="tabLinkInActive">Call Graph</a></span>
<script type="text/javascript">
 Body4();
</script>
<div class="contentAirTop"></div>
<div class="paragraph2NoTopPadding">Start Line: 143</div>
<pre class="codeExamples">
void <a href="#" onMouseOver="link('_member','OnExpose2157650322',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>void&nbsp;&nbsp;OnExpose&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Exposure event handler.');" onMouseOut="return nd();">OOXlib::CMessageBoxWindow::OnExpose</a>()
                                 {
    if(NULL == <a href="#" onMouseOver="link('_member','m_pTextColor3523944850',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CColor *&nbsp;&nbsp;m_pTextColor ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pTextColor</a>) {
        CColor color(m_pXServerConnection, m_pScreen, 255, 255, 255);
        <a href="#" onMouseOver="link('_member','m_pGC3523944850',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;SetForegroundColor(&amp;color);
    } else {
        <a href="#" onMouseOver="link('_member','m_pGC3523944850',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;SetForegroundColor(m_pTextColor);
    }
    <a href="#" onMouseOver="link('_member','m_pGC3523944850',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawText(CUInt2dPoint(m_iTextOffset, m_iVerticalOffset));
    if(NULL != <a href="#" onMouseOver="link('_member','m_pImage3523944850',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CPixmap *&nbsp;&nbsp;m_pImage ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pImage</a>) {
        <a href="#" onMouseOver="link('_member','m_pGC3523944850',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CGraphicsContext *&nbsp;&nbsp;m_pGC ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pGC</a>-&gt;DrawPixmap(*m_pImage, CUInt2dPoint(m_iHorizontalOffset, m_iVerticalOffset));
    }
}
</pre><div class="contentAirBottom"></div>
<script type="text/javascript">
 Body5();
Statistics("","","","","");
 Body6();
SetPageTab('_member','_source');
</script>
